package com.netnewera.l1.req;

import com.thoughtworks.xstream.annotations.XStreamAlias;

@XStreamAlias("LTR")
public class Ltr {
	
	@XStreamAlias("MSIDS")
	private Msids msids;
	
	@XStreamAlias("PR_TIMER")
	private PrTimer prTimer;
	
	@XStreamAlias("PR_TRIGGER")
	private String prTrigger;
	
	@XStreamAlias("POSREQTYPE")
	private String posreqtype;
	
	@XStreamAlias("GEO_INFO")
	private GeoInfo geoInfo;
	
	@XStreamAlias("PQOS")
	private Pqos pqos;
	
	@XStreamAlias("PRIO")
	private String prio;
	
	/***
	 * 注释：REQ_RESULTFORMAT只在REQ_PLATFORM为‘1’时携带，用于对粗定位平台返回的定位结果进行要求
	 */
	@XStreamAlias("REQ_RESULTFORMAT")
	private String reqResultformat;

	public Msids getMsids() {
		return msids;
	}

	public void setMsids(Msids msids) {
		this.msids = msids;
	}

	public PrTimer getPrTimer() {
		return prTimer;
	}

	public void setPrTimer(PrTimer prTimer) {
		this.prTimer = prTimer;
	}

	public String getPrTrigger() {
		return prTrigger;
	}

	public void setPrTrigger(String prTrigger) {
		this.prTrigger = prTrigger;
	}

	public String getPosreqtype() {
		return posreqtype;
	}

	public void setPosreqtype(String posreqtype) {
		this.posreqtype = posreqtype;
	}

	public GeoInfo getGeoInfo() {
		return geoInfo;
	}

	public void setGeoInfo(GeoInfo geoInfo) {
		this.geoInfo = geoInfo;
	}

	public Pqos getPqos() {
		return pqos;
	}

	public void setPqos(Pqos pqos) {
		this.pqos = pqos;
	}

	public String getPrio() {
		return prio;
	}

	public void setPrio(String prio) {
		this.prio = prio;
	}

	public String getReqResultformat() {
		return reqResultformat;
	}

	public void setReqResultformat(String reqResultformat) {
		this.reqResultformat = reqResultformat;
	}

	@Override
	public String toString() {
		StringBuilder builder = new StringBuilder();
		builder.append("Ltr [msids=");
		builder.append(msids);
		builder.append(", prTimer=");
		builder.append(prTimer);
		builder.append(", prTrigger=");
		builder.append(prTrigger);
		builder.append(", posreqtype=");
		builder.append(posreqtype);
		builder.append(", geoInfo=");
		builder.append(geoInfo);
		builder.append(", pqos=");
		builder.append(pqos);
		builder.append(", prio=");
		builder.append(prio);
		builder.append(", reqResultformat=");
		builder.append(reqResultformat);
		builder.append("]");
		return builder.toString();
	}
}
